<html>
<head>
<title>Options - Perfect SSL for Chrome</title>
</head>
<body>
<textarea id="force_https_list" name="force_https_list" cols="80" rows="25"></textarea>
<p><input type="button" onclick="update()" name="update_button" id="update_button"></p>
<script type="text/javascript">
document.title = chrome.i18n.getMessage("options") + " - " + chrome.i18n.getMessage("perfect_ssl_for_chrome_name");
document.getElementById("update_button").value = chrome.i18n.getMessage("options_update");

var bgpage = chrome.extension.getBackgroundPage();
document.getElementById("force_https_list").value = localStorage["force_https_list"] || "[]";

function update()
{
	localStorage["force_https_list"] = document.getElementById("force_https_list").value;
	bgpage.updateList();
}
</script>
</body>
</html>
